

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'adm-menu-form',
	'enableAjaxValidation'=>false,
)); ?>
<ul class="form_list form_list2">

	<li class="c_f">
		<span class="tit">菜单名：</span>
		<div class="cont f_l">
			<?php echo $form->textField($model,'zam_title',array('size'=>25,'maxlength'=>25)); ?>
			<?php echo $form->error($model,'zam_title'); ?>
		</div>
	</li>
	
	<li class="c_f">
		<span class="tit">菜单地址：</span>
		<div class="cont f_l">
			<?php echo $form->textField($model,'zam_url',array('size'=>60,'maxlength'=>255)); ?>
			<?php echo $form->error($model,'zam_url'); ?>
		</div>
	</li>

	<li class="c_f">
		<span class="tit">上级ID：</span>
		<div class="cont f_l">
			<?php echo $form->dropDownList($model,'zam_parentid',AdmMenu::model()->getParent()); ?>
			<?php echo $form->error($model,'zam_parentid'); ?>
		</div>
	</li>

	<li class="c_f">
		<span class="tit">状态：</span>
		<div class="cont f_l">
			<?php echo $form->radioButtonList($model,'zam_status',AdmMenu::model()->getStatus(),array('labelOptions'=>array('class'=>'mr20'))); ?>
			<?php echo $form->error($model,'zam_status'); ?>
		</div>
	</li>
	
	<li class="c_f">
		<span class="tit">菜单类型：</span>
		<div class="cont f_l">
			<?php echo $form->radioButtonList($model,'zam_type',AdmMenu::model()->getType(),array('labelOptions'=>array('class'=>'mr20'))); ?>
			<?php echo $form->error($model,'zam_type'); ?>
		</div>
	</li>
	
	<li class="c_f">
		<span class="tit">&nbsp;</span>
		<div class="cont f_l">
			<?php echo CHtml::submitButton(Yii::t('adm','Save Date'),array('class'=>'mem_btn mem_btn20 mr5')); ?>
		</div>
	</li>
</ul>
<?php $this->endWidget(); ?>
